package edu.sctu.practice.class01.liangyuxiang.day20150928;

/**
 * Created by 梁玉翔 on 2015/9/28.
 */
public class ConcretePrototype extends Prototype {
    private String string;

    public void setString(String string){
        this.string = string;
    }

    public void getString(){
        System.out.println(string);
    }

    public void show(){
        System.out.println("原型模式实现类");
    }
}
